//package com.example.entity;
//
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
//
//import java.io.Serializable;
//import java.util.Date;
//import java.util.Map;
//
///**
// * @author: wangdingfeng
// * @Date: 2020/4/4 22:14
// * @Description: 流程任务vo
// */
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
////Task对象
//public class TaskVO implements Serializable {
//    private static final long serialVersionUID = 1L;
//    private String id;
//    private String owner;
//    private Integer assigneeUpdatedCount;
//    private String originalAssignee;
//    private String assignee;
//    private String parentTaskId;
//    private String name;
//    private String localizedName;
//    private String description;
//    private String localizedDescription;
//    private Integer priority;
//    private Date createTime;
//    private Date dueDate;
//    private Integer suspensionState;
//    private String category;
//    private Boolean isIdentityLinksInitialized;
//    private String executionId;
//    private String processInstanceId;
//    private String processDefinitionId;
//    private String taskDefinitionId;
//    private String scopeId;
//    private String subScopeId;
//    private String scopeType;
//    private String scopeDefinitionId;
//    private String taskDefinitionKey;
//    private String formKey;
//    private Boolean isCanceled;
//    private Boolean isCountEnabled;
//    private Integer variableCount;
//    private Integer identityLinkCount;
//    private Integer subTaskCount;
//    private Date claimTime;
//    private String tenantId;
//    private String eventName;
//    private String eventHandlerId;
//    private String idPrefix;
//    private Boolean forcedUpdate;
//    private Boolean isInserted;
//    private Boolean isUpdated;
//    private Boolean isDeleted;
//    /**
//     * 业务id
//     */
//    private String businessKey;
//    private String businessType;
//    private String businessName;
//    private Map<String,Object> variables;
//
//    public void setVariables(Map<String, Object> variables) {
//        this.variables = variables;
//        if(null != variables){
//            //放入业务常量
//            this.businessType = (String) variables.get("businessType");
//            this.businessName = (String) variables.get("businessName");
//        }
//    }
//
//
//}
